from apps.tcpserver.connection import *
import eventlet


class HandleUDPConnect(Connection):

    _connection: tuple = None
    _msg_cache: MultiDict = MultiDict()
    _ReadQueue: eventlet.Queue = None
    _SendQueue: eventlet.Queue = None
    closed: bool = False
    _handle_type: list = [
        b'\x07',
        b'\x09',
        b'\x0c',
        b'\x13',
    ]

    def __init__(self, addr: tuple):
       
        self._connection = addr
        self._msg_cache = MultiDict()
        self.closed = False
        self._ReadQueue = eventlet.Queue(100)
        self._SendQueue = eventlet.Queue(100)




